package com.tianxin.workbao.workBao.Activity;

import android.content.Context;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.content.res.AppCompatResources;
import androidx.appcompat.widget.Toolbar;
import android.util.AttributeSet;
import android.view.View;

import com.tianxin.workbao.workBao.R;

/**
 * Created by hacker on 2017/7/26.
 */

public class AppShareActivity extends BaseActivity  {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.app_share);
        super.initStatusBar(true);

        initView();
        initData();
        initEvent();
        bindView();
    }

    @Override
    public View onCreateView(String name, Context context, AttributeSet attrs) {
        return super.onCreateView(name, context, attrs);
    }

    public void initView() {
        mToolbar = findViewById(R.id.toolbar);
        mToolbar.setTitle("软件分享");
        mToolbar.setNavigationIcon(AppCompatResources.getDrawable(this, R.drawable.ic_action_back_24dp));
        setSupportActionBar(mToolbar);
    }

    @Override
    public void initData() {
    }

    @Override
    public void initEvent() {
        mToolbar.setNavigationOnClickListener(view -> AppShareActivity.this.finish());
    }

    @Override
    public void bindView() {

    }



    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

}
